Skip to content

UseDbForIndex#244

Open
LeftofZen wants to merge 4 commits into
masterfrom
useDbForIndex
Open

UseDbForIndex#244
LeftofZen wants to merge 4 commits into
masterfrom
useDbForIndex

Conversation

@LeftofZen
Copy link
Copy Markdown
Collaborator

No description provided.

LeftofZen added 4 commits May 28, 2026 00:14
…nfiguration

- Added ObjectServiceHostOptions class to encapsulate configuration options for the ObjectServiceHost.
- Updated ObjectService.csproj to include Microsoft.EntityFrameworkCore.Design package.
- Refactored Program.cs to utilize ObjectServiceHost for configuration and setup.
- Enhanced BaseDataTableRouteHandler to support generic DbContext types.
- Updated various route handlers to use LocoDbContext and IdentityContext appropriately.
- Modified ServerFolderManager to initialize from a database context instead of an index file.
- Improved folder structure management for server objects.
- Cleaned up unused references and improved test cases to align with new structure.
- Added FolderRouteHandler to handle folder indexing requests.
- Implemented IndexFolderAsync method to scan and index folder contents.
- Integrated folder indexing into the existing ObjectService routing.
- Enhanced EmbeddedObjectServiceHost to manage shutdown behavior with a parent process watchdog.
- Updated FilterViewModel to simplify filter expression building.
- Refactored FolderTreeViewModel to remove local directory handling and improve online browsing logic.
- Introduced reactive commands in MainWindowViewModel for folder indexing and local server log viewing.
- Adjusted UI components in FolderTreeView and MainWindow to reflect changes in functionality and improve user experience.
…r service

- Added a new column "FileName" to the DatObjects table in the database.
- Introduced DatFolderScanner service to scan .dat files and return results.
- Created DatFileScanResult and DatFolderScanResults records to encapsulate scan results.
- Updated LocalObjectIndexService to rebuild the object index from scanned .dat files.
- Refactored logging to integrate with the GUI's logging system.
- Updated various view models to utilize the new scanning service.
…handling

- Updated references from LocoDbContext to BaseLocoDbContext across multiple files to standardize database access.
- Introduced ObjectAvailability handling in various object-related classes and services to ensure consistent availability status.
- Modified ObjectIndex and ObjectIndexEntry to include Availability property.
- Enhanced ObjectEditorContext to manage multiple ObjectIndexes based on file location.
- Implemented tests to verify the correct behavior of object availability normalization in local host scenarios.
- Refactored route handlers to conditionally map routes based on server mode.
Copilot AI review requested due to automatic review settings June 5, 2026 05:44
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants